<div id="greetings">
  <p class="message">
    Hello, <%= h current_user.login %>. Your last login was at 
    <%= h current_user.updated_at.to_s %>.
  </p>
  <p class="control">
    <ul>
      <li>
      <%= link_to "Logout", {:controller=>'account', :action=>'logout'} %>
      </li>
      <li>
      <%= link_to "Admin", {:action=>'admin'} if current_user.is_administrator %>                              
      </li>
    </ul>
  </p>
</div>